﻿<CodeSnippetTabbed DocLink="https://docs.devexpress.com/Blazor/DevExpress.Blazor.DxPopup#footer">
    <CodeSnippetTabPage Text="Razor">@(@"<div class=""target-container"" @onclick=""@(() => PopupVisible = true)""></div>
<DxPopup HeaderText=""Header""
        @bind-Visible=""@PopupVisible"">
    <Content>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sit amet metus vel nisi blandit tincidunt vel efficitur purus.
            Nunc nec turpis tempus, accumsan orci auctor, imperdiet mauris. Fusce id purus magna.</p>
    </Content>
    <FooterTemplate>
        <DxButton RenderStyle=""ButtonRenderStyle.Primary"" @onclick=""@(() => PopupVisible = false)"" Text=""OK""/>
    </FooterTemplate>
</DxPopup>
}

@code {
    bool PopupVisible { get; set; }
}")</CodeSnippetTabPage>
</CodeSnippetTabbed>
